package com.ruoyi.project.pay.domain;

import com.ruoyi.framework.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 通道订单表 channel_order
 *
 * @author ruoyi
 * @date 2019-04-09
 */
public class TempOrder extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 版本号
     */
    private String version;
    /**
     * 商户编号
     */
    private Long customerid;
    /**
     * 商户订单号
     */
    private String sdorderno;

    /**
     * 订单金额
     */
    private BigDecimal total_fee;
    /**
     * 支付类型
     */
    private String paytype;
    /**
     * 银行编号
     */
    private String bankcode;
    /**
     * 异步通知URL
     */
    private String notifyurl;
    /**
     * 同步跳转URL
     */
    private String returnurl;
    /**
     * 订单备注说明
     */
    private String remark;
    /**
     * 获取微信二维码
     */
    private String get_code;
    private String status;
    private String msg;
    private String sdpayno;
    /**
     * md5签名串
     */
    private String sign;
    private String reqtime;
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("version", getVersion())
                .append("customerid", getCustomerid())
                .append("sdorderno", getSdorderno())
                .append("total_fee", getTotal_fee())
                .append("paytype", getPaytype())
                .append("bankcode", getBankcode())
                .append("notifyurl", getNotifyurl())
                .append("returnurl", getReturnurl())
                .append("remark", getRemark())
                .append("get_code", getGet_code())
                .append("sign", getSign())
                .toString();
    }

    public String getVersion() {
        return version;
    }

    public void setVersion(String version) {
        this.version = version;
    }

    public String getSdorderno() {
        return sdorderno;
    }

    public void setSdorderno(String sdorderno) {
        this.sdorderno = sdorderno;
    }

    public BigDecimal getTotal_fee() {
        return total_fee;
    }

    public void setTotal_fee(BigDecimal total_fee) {
        this.total_fee = total_fee;
    }

    public String getPaytype() {
        return paytype;
    }

    public void setPaytype(String paytype) {
        this.paytype = paytype;
    }

    public String getBankcode() {
        return bankcode;
    }

    public void setBankcode(String bankcode) {
        this.bankcode = bankcode;
    }

    public String getNotifyurl() {
        return notifyurl;
    }

    public void setNotifyurl(String notifyurl) {
        this.notifyurl = notifyurl;
    }

    public String getReturnurl() {
        return returnurl;
    }

    public void setReturnurl(String returnurl) {
        this.returnurl = returnurl;
    }

    @Override
    public String getRemark() {
        return remark;
    }

    @Override
    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getGet_code() {
        return get_code;
    }

    public void setGet_code(String get_code) {
        this.get_code = get_code;
    }

    public String getSign() {
        return sign;
    }

    public void setSign(String sign) {
        this.sign = sign;
    }

    public Long getCustomerid() {
        return customerid;
    }

    public void setCustomerid(Long customerid) {
        this.customerid = customerid;
    }

    public String getReqtime() {
        return reqtime;
    }

    public void setReqtime(String reqtime) {
        this.reqtime = reqtime;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public String getSdpayno() {
        return sdpayno;
    }

    public void setSdpayno(String sdpayno) {
        this.sdpayno = sdpayno;
    }
}
